
public class DNode<T extends Comparable> implements Comparable {
	
	public T data;
	public DNode<T> prev,next;
	
	public DNode(T data,DNode<T>prev,DNode<T> next) {
		this.data=data;
		this.prev=prev;
		this.next=next;
	}
	
	public DNode() {
		
	}

	@Override
	public int compareTo(Object o) {
		DNode<T> node=(DNode<T>)o;
		return this.compareTo(o);
	}

}
